﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:ImageView"
    xmlns:fluid="clr-namespace:FluidKit.Controls;assembly=FluidKit"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="ImageView.MainWindow"
	x:Name="Window"
	Title="Image Viewer"
	Width="800" Height="500" Background="#FF595959" Closing="Window_Closing" Loaded="Window_Loaded">
    <Grid x:Name="LayoutRoot" Background="Black">
        <Grid.RowDefinitions>
            <RowDefinition Height="25"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <StackPanel x:Name="Menubar" Panel.ZIndex="10" Grid.Row="0" Orientation="Horizontal" Background="#FF414141">
            <Menu>
                <MenuItem Header="File">
                    <MenuItem x:Name="FileOpen" Header="Open Foler..." Click="FileOpen_Click"/>
                    <MenuItem x:Name="FileExit" Header="Exit"/>
                </MenuItem>
            </Menu>
			<TextBlock Text="View:" VerticalAlignment="Center" Foreground="White" Margin="10,0,0,0"/>
            <Button Content="List" Width="80" Margin="5,0,0,0" Click="ViewSwitch" />
            <Button Content="Thumbnails" Margin="10,0,0,0" Width="80" Click="ViewSwitch" />
			<Button Content="Flow" Width="80" Margin="5,0,0,0" Click="ViewSwitch"/>
			
        </StackPanel>
        
        <fluid:TransitionPresenter x:Name="TransPres" Grid.Row="1" TransitionCompleted="TransPres_TransitionCompleted">
            <fluid:TransitionPresenter.Transition>
                <fluid:CubeTransition x:Name="TransRotat" Rotation="RightToLeft"/>
            </fluid:TransitionPresenter.Transition>
        <local:ViewVideo x:Name="VVideo"/>
            <local:ViewImage x:Name="VImage"/>
            <local:View3D x:Name="VFlow"/>
            <local:ViewList x:Name="VList"/>
            <local:ViewThumbnails x:Name="VThums"/>
        </fluid:TransitionPresenter>
    </Grid>
</Window>